﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" x:Class="WellDone.AddRecipeItemDialog"
           Width="261" Height="165" 
           Title="Add Recipe Item">
    <Grid Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Content="Ingredient" Height="19" Margin="33,4,0,0" VerticalAlignment="Top" Width="58"/>
        <ComboBox x:Name="cmbIngredient" HorizontalAlignment="Left" Margin="96,1,0,0" VerticalAlignment="Top" Width="143" RenderTransformOrigin="0.632,0.6"/>
        <sdk:Label HorizontalAlignment="Left" Content="Unit of Measure" Height="19" Margin="3,31,0,0" VerticalAlignment="Top" Width="88"/>
        <ComboBox x:Name="cmbUnit" HorizontalAlignment="Left" Margin="96,28,0,0" VerticalAlignment="Top" Width="143"/>
        <Button x:Name="btnOK" Content="OK" Click="btnOK_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,79,0" Grid.Row="1" />
        <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="75" HorizontalAlignment="Right" Margin="0,10,0,0" Grid.Row="1" />
        <sdk:Label HorizontalAlignment="Left" Height="21" Margin="42,61,0,0" VerticalAlignment="Top" Width="49" Content="Quantity" Grid.RowSpan="2"/>
        <TextBox x:Name="tbQuantity" HorizontalAlignment="Left" Height="23" Margin="96,55,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="64"/>
    </Grid>
</controls:ChildWindow>